Skip to main content

CRLF

Type

constant

Summary

Equivalent to a carriage return (ASCII 13, Control-M) followed by a line feed (ASCII 10, Control-J).

Syntax

CRLF

Description

Use the CRLF constant as an easier-to-read substitute for numToChar(13) & numToChar(10).

The CRLF constant is needed because you can't type the characters it represents in a script.

  • The standard end-of-line delimiter on Unix systems is the line feed character (lf).
  • The end-of-line delimiter for Mac OS systems is a carriage return (cr).
  • The end-of-line delimiter for Windows systems is a carriage return followed by a line feed (crlf).

Examples

read from file myData until CRLF
put line x of field "Information" & CRLF after dataToExport

command: constant, read from file, write to file

constant: return

keyword: characters

property: script

Compatibility and Support

Introduced

LiveCode 1.0

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile

Thank you for your feedback!

Was this page helpful?